package com.lagou.webwork.model;

import java.util.List;

/**
 * @author sjp
 * @date 2021/5/27 21:57
 * @description
 */
public class ListResult<T> {
    private List<T> dataList;
    private int totalCount;

    public ListResult(List<T> dataList, int totalCount) {
        this.dataList = dataList;
        this.totalCount = totalCount;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
}
